package com.sl.au.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 事件转办任务
 * 
 * @author 杨迪
 *
 */
@Entity
@Table(name = "sl_wcsi_TransferTask")
public class TransferTask extends Root {

	@Column(nullable = true, name = "eventTaskMemo")
	private String eventTaskMemo;// 任务备注

	@Column(nullable = true, name = "eventTaskOperate")
	private String eventTaskOperate;// 任务操作描述

	@Column(nullable = true, name = "eventTaskTime")
	private Date eventTaskTime;// 操作时间

	@ManyToOne
	@JoinColumn(nullable = true, name = "eventTaskUser")
	private User eventTaskUser;// 操作人

	@Column(nullable = true, name = "eventId")
	private String eventId;// 对应事件ID，可以是上报事件、可以是受理事件

	public String getEventTaskMemo() {
		return eventTaskMemo;
	}

	public void setEventTaskMemo(String eventTaskMemo) {
		this.eventTaskMemo = eventTaskMemo;
	}

	public String getEventTaskOperate() {
		return eventTaskOperate;
	}

	public void setEventTaskOperate(String eventTaskOperate) {
		this.eventTaskOperate = eventTaskOperate;
	}

	public Date getEventTaskTime() {
		return eventTaskTime;
	}

	public void setEventTaskTime(Date eventTaskTime) {
		this.eventTaskTime = eventTaskTime;
	}

	public User getEventTaskUser() {
		return eventTaskUser;
	}

	public void setEventTaskUser(User eventTaskUser) {
		this.eventTaskUser = eventTaskUser;
	}

	public String getEventId() {
		return eventId;
	}

	public void setEventId(String eventId) {
		this.eventId = eventId;
	}
	
}
